package com.hycreate.platform.modules.project;

import java.util.List;

import com.hycreate.platform.common.persistence.CrudDao;
import com.hycreate.platform.common.persistence.Page;
import com.hycreate.platform.common.persistence.annotation.MyBatisDao;
import com.hycreate.platform.common.utils.mypage.PageDemo;
import com.hycreate.platform.modules.atta.SfAttachment;
import com.hycreate.platform.modules.product.SfProduct;

/**
 * 项目DAO接口
 * @author hoader
 * @version 2017-01-09
 */
@MyBatisDao
public interface SfProjectDao extends CrudDao<SfProject> {
	
   
	public List<SfProduct>  findProductPage(String id); //查询项目下面的产品
	
	 public List<SfAttachment> findProjctPic(String id);  //查询项目的图片
	 
	 
	 /*分页方法*/
	 public  int  projectCount(SfProject sfProject); //查询分页的数据量
	
	 public List<SfProject>  projectListPages(PageDemo pd); //查询分页的数据集合
	 /*分页方法*/
	 
	 
	 public void batchDeletes(List delList); //删除若干项目
	 
	 
	
	   
	 
	
}